package com.sright.bcard.enterprise.dal.dao;

import com.sright.bcard.common.service.share.base.dao.BaseDAO;
import com.sright.bcard.common.service.share.dto.page.PageParamRequest;
import com.sright.bcard.enterprise.dal.entity.CompanyDO;

import java.util.List;

public interface CompanyDAO extends BaseDAO<CompanyDO> {

    int deleteCompany(Long id);

    List<CompanyDO> pageList(PageParamRequest pageParamRequest);

    Integer count(PageParamRequest pageParamRequest);

    List<CompanyDO> selectByCompanyIdList(List<Long> companyIdList);

    List<CompanyDO> selectByEnterpriseId(Long enterpriseId);
}
